<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>无标题文档</title>
    <link href="__PUBLIC__/admin/css/style.css" rel="stylesheet" type="text/css" />
    <script language="JavaScript" src="__PUBLIC__/admin/js/jquery.js"></script>
    <link rel="stylesheet" href="__PUBLIC__/web/css/pintuer.css">
    <script src="__PUBLIC__/web/js/pintuer.js"></script>
</head>

<body>
    <div class="formbody">
        <div class="formtitle"><span>基本信息</span></div>
        <form action="" method="post">
            <ul class="forminfo">
                <li>
                    <label>登录帐号</label>
                    <input name="username" placeholder="请输入登录帐号" type="text" class="dfinput" value="{$data['account_name']}"/>
                </li>
                <li>
                    <label>角色</label>
                    <select name="role_id" class="dfinput">
                        <option value="{$vo.role_id}">请选择</option>
                        <volist name="Rolelist" id="vo">
                            <option value="{$vo.role_id}" <if condition="$vo['role_id'] eq $data['role_id']">selected="selected"</if>>{$vo.role_name}</option>
                        </volist>
                    </select>
                </li>
                <li>
                    <label>门店权限</label>
                    <select name="s_id" class="dfinput">
                        <option value="{$vo.s_id}">如果该角色能查看所有门店则不用选择</option>
                        <volist name="store_list" id="vo">
                            <option value="{$vo.s_id}" <if condition="$vo['s_id'] eq $data['s_id']">selected="selected"</if>>{$vo.store_name}</option>
                        </volist>
                    </select>
                </li>
                    <label>登录密码</label>
                    <input name="password" placeholder="不输入则使用原密码" type="password" class="dfinput"/>
                    <input type="hidden" name="account_id" value="{$data['account_id']}">
                </li>
                <li>
                    <label>&nbsp;</label>
                    <input id="btnSubmit" type="submit" class="btn" value="确认保存" />
                </li>
            </ul>
        </form>
    </div>
</body>
</html>
